<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8" />
	<title>{notempty name="web_title"}{$web_title}-{/notempty}{$web_config.name}</title>
    <meta name="keywords" content="{$web_config.keywords}" />
    <meta name="description" content="{$web_config.desc}" />
    <link href="__CSS__/index.css" rel="stylesheet">
    <link href="__CSS__/tpcitrix.css" rel="stylesheet">
	<script type="text/javascript" src="__JS__/index.js" charset="utf-8"></script>
</head>
<body>
<div id="header">
	<div class="top">
    	<div class="logo">
        <a href="{:url('index/index/index')}"> <img src="{$fragment.top_logo.image|geturl}"></a>
        </div>
        <div class="tel">
        	<h1>{$fragment.top_title1.name}</h1>
            <p>{$fragment.top_title2.name}</p>
        </div>
        <div class="headRight">
            {notempty name="$user"}
            <p style="text-align:right">                
                <a href="{:url('index/common/quit')}">您已登录成功|退出</a> 
            </p>
            {else}
            <p style="text-align:right">                
                <a href="{:url('index/common/login')}">登录</a> 
                    | 
                <a href="{:url('index/common/register')}">注册</a>
            </p>
            {/notempty}
            <form method="get" action="{:url('index/common/search')}" id="btn">
				<input name="keywords" value="" id="top-keywords" type="text" class="text" placeholder="请输入产品名称" />
				<input name="" type="submit" class="btn" value="" />
			</form>
        </div>
    </div>
</div>    
<div id="nav">
	<ul>
        {volist name="nav" id="vo"}
    	<li {if condition="$cur eq $vo.tag"}class="on"{/if}>
            <a href="{$vo.path_url}" title="{$vo.nav_name}" {if condition="$vo.target eq 1"} target="_blank" {/if}>{$vo.nav_name}</a>
            <span><img src="__IMG__/sj.png"></span>
        </li>
        {/volist}
    </ul>
</div>
